<%-- 
    Document   : logout
    Created on : Oct 11, 2010, 3:39:43 PM
    Author     : AnhDung
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Logged out</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        
        <%
session.invalidate();
session=request.getSession(true);
response.setHeader("Cache-Control","no-cache");
response.setHeader("Cache-Control","no-store");
response.sendRedirect("index.jsp");
%>

    </body>
</html>
